package cn.itcast.service;

import cn.itcast.entity.PageResult;
import cn.itcast.pojo.Permission;

import java.util.List;

public interface PermissionService {
    PageResult findByPage(Integer currentPage,Integer pageSize,String queryString);

    Boolean save(Permission permission);

    Boolean delete(Integer id);

    Boolean edit(Permission permission);

    Permission findById(Integer id);

    List<Permission> findByMenuIds(List<Integer> menuIds);

    List<Permission> findAll();
}
